<!DOCTYPE html>
<html class="pixel-ratio-1" style="background-color: #f1f1f1;">

<head>
    <meta charset="utf-8" />
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no" />
    <meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate" />
    <meta name="viewport" content="width=375,user-scalabe=no">
    <meta http-equiv="pragma" content="no-cache" />
    <meta http-equiv="expires" content="0" />
    <script src="../../../../public/vendor/flexible/flexible.js"></script>
    <title>订单车辆信息-变更</title>
    <link rel="stylesheet" type="text/css" href="../../../../public/vendor/weui/weui.min.css" />
    <link rel="stylesheet" type="text/css" href="../../../../public/css/common.css" />
    <link rel="stylesheet" type="text/css" href="../../../../public/css/iconfont/iconfont.css" />
    <link rel="stylesheet" href="../../../../public/vendor/weui/jquery-weui.css">
    <link rel="stylesheet" href="../../../../public/vendor/select2/select2.css">
    <link rel="stylesheet" href="../../../../public/css/features/breedsales/saleorders/addsaleorders.css">
    <style>
        .license-plate input {
            text-transform: uppercase;
        }
    </style>
    <script id="vehicle-template" type="text/x-template">
        {{~ it :value:index}}
        <div class="report-contents-item-box" style="padding:15px">
            <div class="weui-flex marbot">
                <div>
                    <div class="placeholder" style="font-weight:800">农场：{{=value.farmOrgName}}</div>
                </div>
            </div>
            <div class="weui-flex marbot">
                <div>
                    <div class="placeholder" style="font-weight:800">客户：{{=value.cstm}}</div>
                </div>
            </div>
            <div class="weui-flex marbot">
                <div>
                    <div class="placeholder">养殖批次：{{=value.breedBatchName}}</div>
                </div>
            </div>
            <div class="weui-flex marbot">
                <div>
                    <div class="placeholder">销售员：{{=value.salePer}}</div>
                </div>
            </div>
            {{? Utils.IsNotNull(value.count)}}
            <div class="weui-flex marbot" style="font-size: 14px;">
                <div class="weui-flex__item">
                    <div class="placeholder" style="color:#4d4d4d">数量(头)：<span style="color:#ee6808">{{=Utils.toThousands(value.count,0)}}</span></div>
                </div>
            </div>
            {{??}}
            <div class="weui-flex marbot" style="font-size: 14px;">
                <div class="weui-flex__item">
                    <div class="placeholder" style="color:#4d4d4d">数量(头)：<span style="color:#ee6808">{{=Utils.toThousands(value.planQty,0)}}</span></div>
                </div>
            </div>
            {{?}}
            <div class="weui-flex marbot" style="font-size: 14px;">
                <div class="weui-flex__item">
                    <div class="placeholder" style="color:#4d4d4d">重量(kg)：<span style="color:#ee6808">{{=Utils.toThousands(value.weight)}}</span></div>
                </div>
            </div>
            <div class="weui-flex marbot" style="font-size: 14px;">
                <div class="weui-flex__item">
                    <div class="placeholder" style="color:#4d4d4d">司机信息：{{=value.deiverName}}（{{=value.deiverPhone}}）</div>
                </div>
            </div>
            <div class="weui-flex marbot">
                <div class="placeholder">运输车牌：{{=value.carNo}}</div>
                <div class="placeholder" style="margin-left: 20px;">中转车牌：{{=value.transferCarNo}}</div>
            </div>
            <div class="weui-flex marbot" style="font-size: 14px;">
                <div class="weui-flex__item">
                    <div class="placeholder" style="color:#4d4d4d">业务日期：{{=moment(value.bizDate).format('YYYY-MM-DD')}}</div>
                </div>
            </div>
        </div>
        {{~}}
    </script>
</head>

<body>
    <div id="main-vehicle">
        <form id="vehicle-form">
            <div class="weui-cells__group weui-cells__group_form">
                <p class="saleOrders-entry-message">销售订单明细</p>
                <div id="vehicleorders">
                </div>
                <p class="saleOrders-entry-message">变更车辆信息</p>
                <div class="report-contents-item-box">
                    <!--<div class="weui-cell weui-cell_select" style="padding: 15px;">
                        <div class="weui-cell_orgs" style="display: -webkit-flex;align-items: center;">
                            <span class="weui-cell__hd stycon selcon" style="padding-right: 10px">
                                <span>司&emsp;机<span class="red-900">&nbsp;*</span></span>
                            </span>
                            <span class="weui-cell__ft">
                                <select class="weui-select clearContent" id="deiverId" style="visibility: hidden;" required>
                                </select>
                            </span>
                        </div>
                    </div>-->
                    <div class="weui-cell" style="padding: 15px;">
                        <div class="weui-cell__hd"><label class="weui-label">司机姓名<span class="red-900">&nbsp;*</span></label></div>
                        <div class="weui-cell__bd">
                            <input class="weui-input clearContent masterpad" type="text" id="deiverName" placeholder="请输入司机姓名...">
                        </div>
                    </div>
                    <div class="weui-cell" style="padding: 15px;">
                        <div class="weui-cell__hd"><label class="weui-label">司机电话号码<span class="red-900">&nbsp;*</span></label></div>
                        <div class="weui-cell__bd">
                            <input class="weui-input clearContent masterpad" type="number" id="deiverPhone" placeholder="请输入司机电话号码...">
                        </div>
                    </div>
                    <div class="weui-cell" style="padding: 15px;">
                        <div class="weui-cell__hd"><label class="weui-label">车牌号<span class="red-900">&nbsp;*</span></label></div>
                        <div class="weui-cell__bd license-plate">
                            <input class="weui-input clearContent masterpad" type="text" id="carNo" placeholder="请输入车牌号...">
                        </div>
                    </div>
                </div>
            </div>
            <div class="report-contents-item-box operation ">
                <div class="weui-cell operation-child">
                    <a href="javascript:;" class="weui-btn weui-btn_default"
                       style="width: 38%;border-radius:8px;background-color: #fff;margin-left: 0px;"
                       id="returnMain">取消</a>
                    <a href="javascript:;" class="weui-btn weui-btn_primary"
                       style="width: 60%;border-radius:8px;margin-top: 0px;margin-right: 0px;" id="informationSubmit"
                       v-on:click="submit">提交</a>
                </div>
            </div>
        </form>
    </div>

    <script type="text/javascript" src="../../../../public/vendor/jquery/jquery.min.js"></script>
    <script type="text/javascript" src="../../../../public/vendor/vue/vue.min.js"></script>
    <script type="text/javascript" src="../../../../public/vendor/moment/moment.min.js"></script>
    <script type="text/javascript" src="../../../../public/vendor/weui/weui.js"></script>
    <script type="text/javascript" src="../../../../public/vendor/weui/jquery-weui.min.js"></script>
    <script type="text/javascript" src="../../../../public/js/common/iosadaptation.js"></script>
    <script type="text/javascript" src="../../../../public/js/config/utils.js"></script>
    <script type="text/javascript" src="../../../../public/vendor/select2/select2.full.min.js"></script>
    <script type="text/javascript" src="../../../../public/vendor/select2/i18n/zh-CN.js"></script>
    <script type="text/javascript" src="../../../../public/vendor/form-entries/form-entries.js"></script>

    <script type="module" src="../../../../public/js/features/breedsales/saleorders/vehicle.js"></script>
</body>

</html>